package com.bifang.common.constant.enums.dict;

import com.bifang.common.interfaces.DictType;

/**
 * @Author: chenzh @Date 2019/10/30 @Description 用户字典类型
 */
public enum UserDictEnum implements DictType {
    userType("userType", "USERTYPE", "用户类型"),
    sex("sex", "SEX", "性别"),
    regType("regType", "REGTYPE", "注册类型"),
    loginType("loginType", "LOGINTYPE", "登入类型");
    /** 属性名称 */
    private String propertyName;
    /** 字典类型 */
    private String dictField;
    /** 字典类型名称 */
    private String feildName;

    UserDictEnum(String propertyName, String dictField, String feildName) {
        this.propertyName = propertyName;
        this.dictField = dictField;
        this.feildName = feildName;
    }

    @Override
    public String getPropertyName() {
        return propertyName;
    }

    @Override
    public String getFieldName() {
        return feildName;
    }

    @Override
    public String getDictField() {
        return dictField;
    }
}
